LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_ARM_MODE := arm
OPTS :=
#OPTS := -O3 -ffast-math

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/include

LOCAL_CFLAGS := -DFT2_BUILD_LIBRARY $(OPTS)
LOCAL_LDFLAGS := -Wl,-Map=app.map

LOCAL_MODULE := freetype

LOCAL_SRC_FILES := \
	src/autofit/autofit.c \
	src/base/ftbase.c \
	src/base/ftbitmap.c \
	src/base/ftglyph.c \
	src/base/ftinit.c \
	src/base/ftstroke.c \
	src/base/ftsystem.c \
	src/bdf/bdf.c \
	src/cache/ftcache.c \
	src/cff/cff.c \
	src/cid/type1cid.c \
	src/gzip/ftgzip.c \
	src/lzw/ftlzw.c \
	src/pcf/pcf.c \
	src/pfr/pfr.c \
	src/psaux/psaux.c \
	src/pshinter/pshinter.c \
	src/psnames/psnames.c \
	src/raster/ftraster.c \
	src/raster/ftrend1.c \
	src/sfnt/sfnt.c \
	src/smooth/ftgrays.c \
	src/smooth/ftsmooth.c \
	src/truetype/truetype.c \
	src/type1/type1.c \
	src/type42/type42.c \
	src/winfonts/winfnt.c


include $(BUILD_STATIC_LIBRARY)
